const config = {
  // /**---------------------生产环境*---------------------*/
  // serverpath: "http://botu-medical.com/clinic/v17pro1/",
  // key:'8brlm7uf8igc3',
  /**---------------------测试环境*---------------------*/
  // serverpath: "http://10.1.28.216:8090/", // 
  // serverpath: "http://180.104.112.253:8091/", // 
  // serverpath: "http://10.1.28.216:8090/", // 
  // serverpath: "http://180.104.112.253:8091/", // 

  XY_server_path: "http://10.1.24.73/clinic/v17t/", // 新沂登录
  key: '8luwapkv8bc9l'
}
let bindToGlobal = (obj, key) => {
  if (typeof window[key] === 'undefined') {
    window[key] = {};
  }
  for (let i in obj) {
    window[key][i] = obj[i]
  }
}
bindToGlobal(config, '_config')
